Help Setting up Apache HTTP Server 2.2.6

Category: Geeks r Us

Post 1 by TylerK (This site is so "educational") on Thursday, 17-Jan-2008 12:34:43

Hey everyone,

I am trying to set up Apache HTTP Server 2.2.6 on a Windows XP SP2 machine, and I have already forwarded the necessary ports in my router. However, whenever I try to start the server, I get something resembling the following:
(os10048): Only one usage of each network address is normally permitted.
Make_Soc: Could not bind to 0.0.0.0:80.
What's happening? I checked the httpd.conf file, and I don't see anything that could be wrong there.

Post 2 by chikorita (move over school!) on Thursday, 17-Jan-2008 18:11:36

hello, sorry if this is totally wrong grin i've had no experience here. it sounds like there is a problem opening or using port 80, but that's as far as my knowledge goes. maybe you have to unblock apache in a firewall or similar thing? hope this helps some!

Post 3 by TylerK (This site is so "educational") on Thursday, 17-Jan-2008 18:15:51

I already forwarded ports 80 (HTTP) and 443 (HTTPS) in my D-link DI-614+ router, but I might check the firewall section.

Post 4 by tspivey (Generic Zoner) on Friday, 18-Jan-2008 23:22:24

If you're using skype, uncheck the box in options/connection that says use ports 80 and 443 for alternative incoming connections.
Otherwise, run netstat -ab and see what's taking up those ports and tweak it. Apache might already be running as a service.

Post 5 by TylerK (This site is so "educational") on Saturday, 19-Jan-2008 6:57:16

Thanks for that, I did both. Netstat -a -b was reporting many things in c:/windows/system32, and it also reported skype.exe. I did not combine the command with -v. My command looked like this:
In the Run box, I typed cmd.
At the command prompt, I typed:
netstat -a -b
and it returned the information I needed.

Post 6 by b3n (I'm going for the prolific poster awards!) on Monday, 21-Jan-2008 16:35:56

port forwarding isn't the problem because even ifit was he would still be able to htp to local host.
I kno its kinda the easy way out, but have you looked at wamp? by default its gonna install php and mysql ontop of apache, but I think you can tell it not to.
Wamp = very big resource hog with everything installed though and its not really sooted for a production setup.